package io.renren.modules.sys.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.google.code.kaptcha.Producer;
import io.renren.modules.sys.entity.MySysCaptchaEntity;
import org.springframework.stereotype.Service;

import java.awt.image.BufferedImage;

public interface MySysCaptchaService extends IService<MySysCaptchaEntity> {
    BufferedImage getCaptcha(String uuid);

    boolean validate(String uuid, String code);
}
